﻿using Sidvall.UI.Messaging;

namespace Sidvall.UI.ViewModels
{
    public abstract class DialogViewModelBase : ControlViewModelBase
    {
        #region Public Members

        #region OnIsBusyChanged

        protected override void OnIsBusyChanged(bool isBusy, string message, string scope)
        {
            OnIsBusyChanged();
        }

        #endregion
        #region OnViewModelControlsIsBusyChanged

        protected override void OnViewModelControlsIsBusyChanged(object sender, BusyChangedEventArgs e)
        {
            SetIsBusy(e.IsBusy, e.Message, e.Scope);
        }

        #endregion

        #endregion
        #region Constructors

        protected DialogViewModelBase()
        {
        }

        #endregion
    }
}
